package com.zheng.study.base.bean.search;

/**
 * 查询 - 枚举
 * ============================================================================
 * author : fallenpanda
 * createDate:  2018/6/11 。
 * ============================================================================
 */
public class SearchEnum {

	/**
	 * 查询结果
	 */
	public enum ResultType{
		list, uniqueResult
	}

	/**
	 * 查询
	 */
	public enum ProjectionType{
		none,
		rowCount, count, countDistinct,
		max, min, avg, sum
	}

	/**
	 * 查询方式
	 */
	public enum RuleType{
		and, or,
		isEmpty, isNotEmpty, isNull, isNotNull,
		eq, ne, gt, ge, lt, le, in,
		like, ilike,
		sql
	}

	/**
	 * 排序方式
	 */
	public enum OrderType{
		asc, desc
	}

}
